{
	http://www.meila.com/riaapi/notice/aj_get_notice_count.php


	function msg_getCount()
	{

		$.getJSON(
			'/riaapi/notice/aj_get_notice_count.php',
			'',
			function(data){
				if(data.code == 'A00006' && data.data.total>0)
				{
					var msgNotice ='';
					if(data.data.fans > 0)
						msgNotice+='<a href="/home/fans/?frm=msg">新增粉丝'+data.data.fans+'人</a>';
					if(data.data.cmt > 0)
						msgNotice+='<a href="/message/comment?frm=msg">新增评论'+data.data.cmt+'条</a>';
					if(data.data.atme > 0)
						msgNotice+='<a href="/message/atme?frm=msg">'+data.data.atme+'条新内容提到我</a>';

					$('#nav_msgNtc').miniTip({
						anchor: 's',
						content:msgNotice,
						delay:0,
						event: 'click',
					});
					$('#nav_msgNtc').text('('+data.data.total+')');
					$('#nav_msgNtc').trigger('click');
				}
				
			});
		//5分钟取一次。
		setTimeout(msg_getCount , 300000);
	}

	msg_getCount();
}